home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global MatTasti, NumTasto, LastNumTasto
- if NumTasto = 0 then
- exit
- end if
- set tasto to getAt(MatTasti, NumTasto)
- abbassa(tasto)
- end
-
- on mouseUp
- global MatTasti, LastNumTasto
- if the doubleClick then
- exit
- end if
- startTimer()
- repeat while the timer < 15
- if the mouseDown then
- exit
- end if
- end repeat
- if LastNumTasto = 0 then
- exit
- end if
- set tasto to getAt(MatTasti, LastNumTasto)
- alza(tasto)
- end
-